<?php
/*
 * @Author: your name
 * @Date: 2020-12-17 15:34:57
 * @LastEditTime: 2020-12-17 16:00:04
 * @LastEditors: Please set LastEditors
 * @Description: 更新日志参数定义
 * @FilePath: /special/application/common/definition/platform/UpdateLogStatusDefinition.php
 */
namespace app\common\definition\platform;

class UpdateLogDefinition
{
    //客户端日志类型
    const CLIENT_TYPE = 1;
    const CLIENT_TYPE_DESCRIPTION = '客户端日志';
    //服务端日志类型
    const SERVER_TYPE = 2;
    const SERVER_TYPE_DESCRIPTION = '服务端日志';
    //中间键日志类型
    const MIDDLEWARE_TYPE = 3;
    const MIDDLEWARE_TYPE_DESCRIPTION = '中间键日志类型';

    const UNKNOW_TYPE_DESCRIPTION = '未知类型';
    
    //正在下载
    const DOWNLOADING_STATUS = 1;
    const DOWNLOADING_DESCRIPTION = '正在下载';
    //下载成功
    const DOWNLOAD_SUCCESS_STATUS = 2;
    const DOWNLOAD_SUCCESS_DESCRIPTION = '下载成功';
    //下载失败
    const DOWNLOAD_FAIL_STATUS = 3;
    const DOWNLOAD_FAIL_STATUS_DESCRIPTION = '下载失败';
    //更新成功
    const UPADRE_SUCCESS_STATUS = 4;
    const UPADRE_SUCCESS_STATUS_DESCRIPTION = '更新成功';
    //更新失败
    const UPADRE_FAIL_STATUS = 5;
    const UPADRE_FAIL_STATUS_DESCRIPTION = '更新失败';
    //已更新服务端地址
    const UPADRE_ADDRESS_SUCCESS_STATUS = 6;
    const UPADRE_ADDRESS_SUCCESS_STATUS_DESCRIPTION = '已更新服务端地址';
    //未知服务状态
    const UNKNOW_DESCRIPTION = '未知更新状态';

}